package com.sunni.dao_old.impl;

import com.sunni.dao_old.AccountMapper;
import com.sunni.entity.Account;
import org.junit.Test;

import java.io.IOException;

public class AccountMapperImplTest_old {

    AccountMapper accountMapper = new AccountMapperImpl();

    // day12-01 : 传统开发
    @Test
    public void testSelectAll_old() {
        try {
            for (Account account : accountMapper.selectAll()) {
                System.out.println("account = " + account);
            }
        } catch (IOException e) {
            System.out.println("e = " + e);
        }
    }

}